<%@ page import="com.plan.ConstructionReport" %>


<div class="splitcontentleft">
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'sn', 'error')} ">
		<label for="sn">
			<g:message code="constructionReport.sn.label" default="Sn" />
			
		</label>
		<g:textField name="sn" maxlength="30" value="${constructionReportInstance?.sn}"/>
	</div>
	
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'title', 'error')} required">
		<label for="title">
			<g:message code="constructionReport.title.label" default="Title" />
			<span class="required-indicator">*</span>
		</label>
		<g:textField name="title" maxlength="50" required="" value="${constructionReportInstance?.title}"/>
	</div>
	
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'reportType', 'error')} ">
		<label for="reportType">
			<g:message code="constructionReport.reportType.label" default="Report Type" />
			
		</label>
		<g:textField name="reportType" maxlength="30" value="${constructionReportInstance?.reportType}"/>
	</div>
	
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'startDate', 'error')} required">
		<label for="startDate">
			<g:message code="constructionReport.startDate.label" default="Start Date" />
			<span class="required-indicator">*</span>
		</label>
		<g:datePicker name="startDate" precision="day" year="2000..2020" value="${constructionReportInstance?.startDate}"  />
	</div>
	
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'endDate', 'error')} required">
		<label for="endDate">
			<g:message code="constructionReport.endDate.label" default="End Date" />
			<span class="required-indicator">*</span>
		</label>
		<g:datePicker name="endDate" precision="day" year="2000..2020" value="${constructionReportInstance?.endDate}"  />
	</div>
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'depart', 'error')} ">
		<label for="depart">
			<g:message code="constructionReport.depart.label" default="Depart" />
			
		</label>
		<g:textField name="depart" maxlength="50" value="${constructionReportInstance?.depart}"/>
	</div>
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'creater', 'error')} ">
		<label for="creater">
			<g:message code="constructionReport.creater.label" default="Creater" />
			
		</label>
		<g:textField name="creater" maxlength="30" value="${constructionReportInstance?.creater}"/>
	</div>
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'signLeader', 'error')} ">
		<label for="signLeader">
			<g:message code="constructionReport.signLeader.label" default="Sign Leader" />
			
		</label>
		<g:textField name="signLeader" maxlength="50" value="${constructionReportInstance?.signLeader}"/>
	</div>
</div>
<div class="splitcontentright">
	
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'signEngineer', 'error')} ">
		<label for="signEngineer">
			<g:message code="constructionReport.signEngineer.label" default="Sign Engineer" />
			
		</label>
		<g:textField name="signEngineer" maxlength="50" value="${constructionReportInstance?.signEngineer}"/>
	</div>
	
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'signQc', 'error')} ">
		<label for="signQc">
			<g:message code="constructionReport.signQc.label" default="Sign Qc" />
			
		</label>
		<g:textField name="signQc" maxlength="50" value="${constructionReportInstance?.signQc}"/>
	</div>
	
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'signEngineDept', 'error')} ">
		<label for="signEngineDept">
			<g:message code="constructionReport.signEngineDept.label" default="Sign Engine Dept" />
			
		</label>
		<g:textField name="signEngineDept" maxlength="50" value="${constructionReportInstance?.signEngineDept}"/>
	</div>
	
	<div class="fieldcontain ${hasErrors(bean: constructionReportInstance, field: 'remark', 'error')} ">
		<label for="remark">
			<g:message code="constructionReport.remark.label" default="Remark" />
			
		</label>
		<g:textArea name="remark" cols="40" rows="5" maxlength="500" value="${constructionReportInstance?.remark}"/>
	</div>
</div>

